<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	</head>
    <body>
    	<script>
    		var arr = []; 
    		 num = 1;
    		var k = 1;
    		while(num <= 100){  
    			if(num%3 == 0){
    		        arr.push(num);
    		        k++;
    		   }
    		    num++;
    		}
    	    alert(k); 
        </script>
	</body>
</html>